﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020000C3 RID: 195
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class AssistMonsterEntityInfo : IMessage<AssistMonsterEntityInfo>, IMessage, IEquatable<AssistMonsterEntityInfo>, IDeepCloneable<AssistMonsterEntityInfo>, IBufferMessage
	{
		// Token: 0x17000273 RID: 627
		// (get) Token: 0x060008A7 RID: 2215 RVA: 0x00018C64 File Offset: 0x00016E64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<AssistMonsterEntityInfo> Parser
		{
			get
			{
				return AssistMonsterEntityInfo._parser;
			}
		}

		// Token: 0x17000274 RID: 628
		// (get) Token: 0x060008A8 RID: 2216 RVA: 0x00018C6B File Offset: 0x00016E6B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return AssistMonsterEntityInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000275 RID: 629
		// (get) Token: 0x060008A9 RID: 2217 RVA: 0x00018C7D File Offset: 0x00016E7D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return AssistMonsterEntityInfo.Descriptor;
			}
		}

		// Token: 0x060008AA RID: 2218 RVA: 0x00018C84 File Offset: 0x00016E84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AssistMonsterEntityInfo()
		{
		}

		// Token: 0x060008AB RID: 2219 RVA: 0x00018C97 File Offset: 0x00016E97
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AssistMonsterEntityInfo(AssistMonsterEntityInfo other) : this()
		{
			this.entityIdList_ = other.entityIdList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060008AC RID: 2220 RVA: 0x00018CC1 File Offset: 0x00016EC1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AssistMonsterEntityInfo Clone()
		{
			return new AssistMonsterEntityInfo(this);
		}

		// Token: 0x17000276 RID: 630
		// (get) Token: 0x060008AD RID: 2221 RVA: 0x00018CC9 File Offset: 0x00016EC9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> EntityIdList
		{
			get
			{
				return this.entityIdList_;
			}
		}

		// Token: 0x060008AE RID: 2222 RVA: 0x00018CD1 File Offset: 0x00016ED1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as AssistMonsterEntityInfo);
		}

		// Token: 0x060008AF RID: 2223 RVA: 0x00018CDF File Offset: 0x00016EDF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(AssistMonsterEntityInfo other)
		{
			return other != null && (other == this || (this.entityIdList_.Equals(other.entityIdList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060008B0 RID: 2224 RVA: 0x00018D14 File Offset: 0x00016F14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.entityIdList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060008B1 RID: 2225 RVA: 0x00018D48 File Offset: 0x00016F48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060008B2 RID: 2226 RVA: 0x00018D50 File Offset: 0x00016F50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060008B3 RID: 2227 RVA: 0x00018D59 File Offset: 0x00016F59
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.entityIdList_.WriteTo(ref output, AssistMonsterEntityInfo._repeated_entityIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060008B4 RID: 2228 RVA: 0x00018D80 File Offset: 0x00016F80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.entityIdList_.CalculateSize(AssistMonsterEntityInfo._repeated_entityIdList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060008B5 RID: 2229 RVA: 0x00018DB9 File Offset: 0x00016FB9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(AssistMonsterEntityInfo other)
		{
			if (other == null)
			{
				return;
			}
			this.entityIdList_.Add(other.entityIdList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060008B6 RID: 2230 RVA: 0x00018DE7 File Offset: 0x00016FE7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060008B7 RID: 2231 RVA: 0x00018DF0 File Offset: 0x00016FF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 96U && num != 98U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.entityIdList_.AddEntriesFrom(ref input, AssistMonsterEntityInfo._repeated_entityIdList_codec);
				}
			}
		}

		// Token: 0x0400033A RID: 826
		private static readonly MessageParser<AssistMonsterEntityInfo> _parser = new MessageParser<AssistMonsterEntityInfo>(() => new AssistMonsterEntityInfo());

		// Token: 0x0400033B RID: 827
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400033C RID: 828
		public const int EntityIdListFieldNumber = 12;

		// Token: 0x0400033D RID: 829
		private static readonly FieldCodec<uint> _repeated_entityIdList_codec = FieldCodec.ForUInt32(98U);

		// Token: 0x0400033E RID: 830
		private readonly RepeatedField<uint> entityIdList_ = new RepeatedField<uint>();
	}
}
